module.exports = {
    devServer: {
        public:'http://192.168.3.47:8080',
        hot:true,
        disableHostCheck:true,
        proxy: {
            // 配置跨域
            '/api': {
                // target: "http://192.168.10.103:8888/api",
                target: "http://localhost:8888/api",
                ws:true,
                changOrigin:true,
                pathRewrite:{
                    '^/api':'/'
                }
            }
        }
    }
}
